package br.jcrsistemas.syscomercio.dao;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import org.hibernate.HibernateException;

public interface DAO<T> {
	public void gravar(T instancia) throws HibernateException;
	public boolean atualizar(T instancia) throws SQLException;
	public boolean remover(T instancia);
	public ArrayList<T> listarTodos() ;
	public T procurar(T instancia) throws SQLException;

}
